load Ad
Starts loading the ad on a background thread.
Parameters
Data for targeting and ad configuration.
RewardedAdLoadListener to be invoked when the ad is loaded or loading fails.
Starts loading the ad on a background thread. Suspends until the result is available.
Return
RewardedAdLoadResult.Success with RewardedAd or RewardedAdLoadResult.Failure with com.yandex.mobile.ads.common.AdRequestError.
Parameters
Data for targeting and ad configuration.
Starts loading the ad on a background thread with ready response.
Parameters
The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.
Encoded response for ad request.
RewardedAdLoadListener to be invoked when the ad is loaded or loading fails.
Starts loading the ad on a background thread with ready response. Suspends until the result is available.
Return
RewardedAdLoadResult.Success with RewardedAd or RewardedAdLoadResult.Failure with com.yandex.mobile.ads.common.AdRequestError.
Parameters
The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.
Encoded response for ad request.